﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
    public class DanceTrack : AbstractTrack
    {
        private string _temp;

        public DanceTrack()
        { }

        public DanceTrack(string name, int length, string temp)
            : base(name, length)
        {
            _temp = temp;
        }


        public string Temp
        {
            get { return _temp; }
            set { Temp = value; }
        }
        public override string ToString()
        {
            return base.ToString() + ", темп: " + _temp;
        }
    }
}